package com.kuaidi100.sdk.request.corder;

/**
 *
 * @Author: api.kuaidi100.com
 * @Date: 2021-03-22 15:29
 */
public class COrderQueryPriceReq {
    /**
     * 快递公司编码
     */
    private String kuaidicom;
    /**
     * 出发地地址，最小颗粒到市级，例如：广东省深圳市
     */
    private String sendManPrintAddr;
    /**
     * 目的地地址，最小颗粒到市级，例如：广东省深圳市
     */
    private String recManPrintAddr;
    /**
     * 重量
     */
    private String weight;
    /**
     * 业务类型
     */
    private String serviceType;

    public String getKuaidicom() {
        return kuaidicom;
    }

    public void setKuaidicom(String kuaidicom) {
        this.kuaidicom = kuaidicom;
    }

    public String getSendManPrintAddr() {
        return sendManPrintAddr;
    }

    public void setSendManPrintAddr(String sendManPrintAddr) {
        this.sendManPrintAddr = sendManPrintAddr;
    }

    public String getRecManPrintAddr() {
        return recManPrintAddr;
    }

    public void setRecManPrintAddr(String recManPrintAddr) {
        this.recManPrintAddr = recManPrintAddr;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public static COrderQueryPriceReqBuilder newBuilder() {
        return new COrderQueryPriceReqBuilder();
    }

    public static final class COrderQueryPriceReqBuilder {
        private String kuaidicom;
        private String sendManPrintAddr;
        private String recManPrintAddr;
        private String weight;
        private String serviceType;

        private COrderQueryPriceReqBuilder() {
        }

        public static COrderQueryPriceReqBuilder aCOrderQueryPriceReq() {
            return new COrderQueryPriceReqBuilder();
        }

        public COrderQueryPriceReqBuilder withKuaidicom(String kuaidicom) {
            this.kuaidicom = kuaidicom;
            return this;
        }

        public COrderQueryPriceReqBuilder withSendManPrintAddr(String sendManPrintAddr) {
            this.sendManPrintAddr = sendManPrintAddr;
            return this;
        }

        public COrderQueryPriceReqBuilder withRecManPrintAddr(String recManPrintAddr) {
            this.recManPrintAddr = recManPrintAddr;
            return this;
        }

        public COrderQueryPriceReqBuilder withWeight(String weight) {
            this.weight = weight;
            return this;
        }

        public COrderQueryPriceReqBuilder withServiceType(String serviceType) {
            this.serviceType = serviceType;
            return this;
        }

        public COrderQueryPriceReq build() {
            COrderQueryPriceReq cOrderQueryPriceReq = new COrderQueryPriceReq();
            cOrderQueryPriceReq.setKuaidicom(kuaidicom);
            cOrderQueryPriceReq.setSendManPrintAddr(sendManPrintAddr);
            cOrderQueryPriceReq.setRecManPrintAddr(recManPrintAddr);
            cOrderQueryPriceReq.setWeight(weight);
            cOrderQueryPriceReq.setServiceType(serviceType);
            return cOrderQueryPriceReq;
        }
    }
}
